package com.graduation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.pojo.po.Category;
import com.graduation.pojo.query.CategoryQuery;
import com.graduation.pojo.vo.CategoryVO;

import java.util.List;

public interface CategoryService extends IService<Category> {

    List<CategoryVO> listCategories(CategoryQuery query);

    CategoryVO getCategoryById(Long id);

    void saveCategory(Category category);

    void updateCategory(Category category);

    void deleteCategory(Long id);

}
